package com.indusfo.spc.service;

import com.indusfo.spc.pojo.BadphenoType;
import com.indusfo.spc.vo.JSONObject;

/**
 * @ProjectName: IEIS2-COM
 * @Package: com.indusfo.spc.service
 * @ClassName: BadphenoTypeService
 * @Author: 熊冰
 * @Description: 不良现象类型 业务层接口
 * @Date: 2019/8/20 10:12
 * @Version: 1.0
 */
public interface BadphenoTypeService {
    //查询
    JSONObject listBadphenoType(BadphenoType badphenoType);
    //新增或修改
    JSONObject insertOrUpdateBadphenoType(BadphenoType badphenoType);
    // 启用1  删除2   停用3
    JSONObject deleteBadphenoType(Long[] ids, Integer dataState);
    //树
    JSONObject treeBadphenoType(BadphenoType badphenoType);

    JSONObject treeBadphenoTypeToInsert(BadphenoType badphenoType);
}
